
<div class="well" align="center">
        <?php
        //var_dump($project);
        

        echo $this->Form->create('StoryComment', array('url' => '../stories/addComment/'.$story['Story']['id'], 'class'=>'form-inline'));
        ?> 
        <fieldset> 

        <?php 
            echo $this->Form->input('story_id',array('type' => 'hidden','value'=>$story['Story']['id']));
            echo $this->Form->input('project_id',array('type' => 'hidden','value'=>$story['Project']['id']));
            echo $this->Form->input('creator_id',array('type' => 'hidden','value'=>AuthComponent::user('id')));
             
            $options = array('placeholder' => 'Commentario','label'=>false,'class'=>'input','div'=>false,'rows'=>2);
            echo $this->Form->input('text',$options);
            
            ?>
            <?php
                    $optionsBtn = array('label' => 'Nuevo Comentario','class' => 'btn','div'=>false);
                   
                    echo $this->Form->end($optionsBtn);
                    
                    ?>
        </fieldset>

 </div>